//
//  SEChatCellDelegate.swift
//  SmartEyeForPatient
//
//  Created by QDSG on 2021/4/9.
//

import Foundation

protocol SEChatCellDelegate: NSObjectProtocol {
    /// 点击了 cell 本身
    func cellDidTapped(_ cell: SEChatBaseCell)
    
    /// 点击了 cell 的图片
    func imageCell(_ cell: SEChatImageCell, didTappedImageViewWith viewModel: SEChatViewModel?)
    
    /// 点击了语音 cell 的播放 button
//    func cellDidTappedVoiceButton(_ cell: TSChatVoiceCell, isPlayingVoice: Bool)
    
    func cellResendTapped(_ cell: SEChatBaseCell)
}

extension SEChatCellDelegate {
    func cellDidTapped(_ cell: SEChatBaseCell) {}
}
